package com.bjgzy.rating.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import com.bjgzy.rating.di.module.RatingHomeModule;
import com.bjgzy.rating.mvp.contract.RatingHomeContract;
import com.jess.arms.di.scope.ActivityScope;
import com.bjgzy.rating.mvp.ui.activity.RatingHomeActivity;

/**
 * @author xubo
 * @date 2018-8-7 15:54:08
 */
@ActivityScope
@Component(modules = RatingHomeModule.class, dependencies = AppComponent.class)
public interface RatingHomeComponent {
    void inject(RatingHomeActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        RatingHomeComponent.Builder view(RatingHomeContract.View view);

        RatingHomeComponent.Builder appComponent(AppComponent appComponent);

        RatingHomeComponent build();
    }


}